Automattic\Jetpack\My_Jetpack\REST_Products S

Total Complexity 21
Dependencies 5
Dependents 1
Total lines 245
Lines of code 161
Logical lines of code 47
Comment lines 62
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
install_standalone()
S
52 4 24
__construct()
S
43 1 65
activate_product()
S
56 3 17
deactivate_product()
S
56 3 17
edit_permissions_callback()
S
66 4 9
check_product_argument()
S
64 2 10
get_products_schema()
S
67 1 8
permissions_callback()
S
80 1 3
get_products()
S
75 1 4
get_product()
S
74 1 4